public class Rent {
    public static void main(String[] args) {
        Truck truck1 = new Truck("品牌1", "车牌1", "小型");
        System.out.println("卡车1每天租金: " + truck1.getRent());

        Bus bus1 = new Bus("品牌2", "车牌2", 15);
        System.out.println("巴士1每天租金: " + bus1.getRent());
    }
}